package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "test_report")
public class TestReport implements java.io.Serializable{
    private ObjectId id;    //主键id
    private Long questionnaireId;   //问卷id
    private Long userId;      //用户id
    private String gender;    //性别
    private Long resultId;    //测试结果id
    private Integer score;    //得分
}
